package com.zhenwei.zscm.model.vo.orderProductCheck;

import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class OrderProductCheckPriceVO {


    /**
     * 产品备件id
     */
    @NotEmpty(message = "产品配件不能为空")
    private String productPartId;

    /**
     * 数量
     */
    @NotNull(message = "配件数量不能为空")
    @Min(message = "配件数量不能小于1", value = 1)
    private Integer count;
}
